#include "Vertex.h"
#include "Color.h"

Vertex::Vertex() {}

Vertex::Vertex(const Point& coordenades)
    : coord(coordenades), normal(0,0,0) //, ambientOcclusion(0.5), obscurance(0.5), cornerObscurance(0.5)
{
    color[0] = color[1] = color[2] = 0.5;
}

void Vertex::normalize()
{
    normal.normalize();
}
